package com.atg.atgchat.init.websocket.vo.resp;

import com.atg.atgchat.init.chat.model.resp.ChatMemberResp;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/*
author: atg
time: 2025/1/12 11:09
desc: 用户上下线变动的推送类
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WebSocketOnlineOfflineNotify {
    private List<ChatMemberResp> changeList = new ArrayList<>();//新的上下线用户
    private Long onlineNum;//在线人数
}
